package com.rq.adapter;


import android.view.View;

import com.rq.rvlibrary.BaseAdapter;
import com.rq.rvlibrary.BaseViewHolder;

public class FootHolder extends BaseViewHolder {
  public FootHolder(View itemView) {
    super(itemView);
  }

  @Override
  public int inflateLayoutId() {
    return R.layout.item_red;
  }

  @Override
  public void fillData(BaseAdapter adapter, int position, Object data) {
    super.fillData(adapter, position, data);
    LOG.e("FootHolder", data + ".fillData.getPositionInSameClass:" + getPositionInSameClass(position));
    LOG.e("FootHolder", "fillData.isHeadView:" + isHeadView(position));
    LOG.e("FootHolder", "fillData.isFootView:" + isFootView(position));

    setItemText(R.id.txt, "特殊视图，可以不用同一个Layout,示例只是省事，fillData -> fillObject : " + data);
  }
}
